import os
from docutils.core import publish_parts

def rst2html(s):
	settings = {'config' : None}
	os.environ['DOCUTILSCONFIG'] = ""
	parts = publish_parts(source=s, writer_name='html4css1', settings_overrides=settings)
	return parts['fragment']
